package cn.topcodes.tcsf.app.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author Unicorn
 */
@Data
@Table(name = "t_app_notice")
public class Notice extends IdEntity {

    //公告类型 文本
    private static final String TYPE_TEXT = "text";

    //公告类型  图文
    private static final String TYPE_IMAGE = "image";

    //公告类型  url
    private static final String TYPE_URL = "url";

    /*公告标题*/
    private String title;

    /*公告类型：纯文本，图文，网页*/
    private String type;

    /*公告内容*/
    private String content;

    /*系统用户ID*/
    @Column(name = "sys_user_id")
    private Long sysUserId;
}
